Component({
  properties: {
    pageTitle: {
      type: String,
      value: ''
    }
  },

  data: {
    height: 0,
    top: 0
  },

  attached() {
    let menu = wx.getMenuButtonBoundingClientRect();
    this.setData({
      height: menu.height + 2,
      top: menu.top
    });
  },

  methods: {

  }
})